<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>zzSearch</title>
    <!-- 网站说明 -->
    <meta name="description"
          content="关键词搜索资源网：新闻、文案搜索" />
    <!-- 关键字 -->
    <meta name="keywords" content="新闻、文案搜索" />

    <!-- 引入favicon图标 -->
    <!-- <link rel="shortcut icon" href="favicon.ico" /> -->
    <!-- 引入我们初始化样式文件 -->
    <link rel="stylesheet" href="/css/base.css">
    <!-- 引入我们公共的样式文件 -->
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/news.css">
</head>
<body>


<!-- header头部模块制作 start -->
<header class="header w">
    <!-- search搜索模块 -->
    <div class="search" style="position: absolute; top: 100px">
        <form action="/search/back" method="get">
            <input type="search" name="word" id="" placeholder="zz~~">
            <button type="submit">搜索</button>
        </form>
    </div>

</header>
<!-- header头部模块制作 end -->
<p th:text="${msg}" style="color:red; font-size: 20px; margin-left: 500px"></p>
<!-- 列表页主体部分 -->
<div class="w">
    <div class="news" style="display: block;">
        <div class="news_hd">
            <p th:text="|检索词：${word}(${count})|">今日热点</p>
        </div>
        <div class="news_bd">
            <ul>
                <li th:each="con, index:${content}" style="overflow: hidden;width: 100%;white-space: nowrap;text-overflow: ellipsis;">
                    <a decode="{{true}}" th:href="@{${con.getLink()}}" th:text="|NO${index.count}:&nbsp;&nbsp;${con.getContent()}|" target="_blank">
                        莫道枫林晚，为霞尚满天
                    </a>
                    <a th:href="@{|/search/delete?id=${con.getId()}&word=${word}|}" style="float: right; color: red;">删除</a>
                </li>
            </ul>
        </div>
    </div>
</div>


<script src="/js/news.js"></script>
<script src="/js/jquery.min.js"></script>

</body>
</html>